﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Qreed.Drawing.TriDemo
{
    public partial class AddPointForm : Form
    {
        public AddPointForm()
        {
            InitializeComponent();
        }

        public float X
        {
            get { return float.Parse(textboxX.Text); }
        }

        public float Y
        {
            get { return float.Parse(textBoxY.Text); }
        }

        public PointF Point
        {
            get { return new PointF(X, Y); }
        }
    }
}
